import React from "react";
import styles from "./Category.module.css";
import {Menu} from "antd";
import {useSelector} from "../../../../store/hook";

/**
 * 描述：商品分类
 * 作者：刘飞华
 * 日期：2024/3/29 15:23
 */
export const Category: React.FC = () => {

    const data = useSelector(s => s.category.data)

    return (
        <>
            <Menu  className={styles.sideMenu} mode="vertical" items={data} />

        </>

    );
};
